// TODO: 新架构中,暂时屏蔽这个文件,后续在新的index.scss中重新整理和定义
@import './variables.scss';
@import './common.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './btn.scss';

/*
一些Element UI的默认主题写在这里,将会覆盖在其源码目录:
element-ui/packages/theme-chalk/src/common/var.scss
中的原有变量
*/
$--color-primary: teal;

/* Element UI 的字体图标 */
$--font-path: "~element-ui/lib/theme-chalk/fonts";

@import "~element-ui/packages/theme-chalk/src/index";

// 项目中一些通用样式定义在这里,使用Element UI预定义的一些变量以确保页面样式保持一直
.dic-text-primary {
	color: $--color-primary;
}
//.blue{
//  background-color: $blue;
//}
body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

body,html{
  background-image: none;
  // overflow: hidden;
  background-color: #eaeff3;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: .04rem 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: .05rem;
}

.pl-5 {
  padding-left: .05rem;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: .08rem .24rem;
  margin-bottom: .20rem;
  border-radius: .02rem;
  display: block;
  line-height: .32rem;
  font-size: .16rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  background-color: #fff;
  border-radius: .05rem;
  padding: .20rem;
  box-sizing: border-box;
  //margin-bottom: .20rem;
  height: 100%;
  box-sizing: border-box;
  overflow-y: auto;
}

.components-container {
  margin: .30rem .50rem;
  position: relative;
}

.pagination-container {
  margin-top: .30rem;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: .50rem;
  line-height: .50rem;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: .20rem;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: .20rem;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: .10rem;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: .10rem;
  }
}

//refine elerem-multiselect plugin
.multiselect {
  line-height: .16rem;
}

.multiselect--active {
  z-index: 1000 !important;
}
.form-block{
  padding: .15rem;
  //-webkit-box-shadow: rgba(233, 234, 238, 0.7) 0rem 0rem 15rem;
  //-moz-box-shadow: rgba(233, 234, 238, 0.7) 0rem 0rem 15rem;
  //box-shadow: rgba(233, 234, 238, 0.7) 0rem 0rem 15rem;
  box-shadow: 0 .02rem .12rem 0 rgba(0, 0, 0, 0.1)
}

//主题色
.success{
  color:#67C23A
}
.warning{
  color:#E6A23C
}
.danger{
  color:#F56C6C
}
.info{
 color:#909399
}
